package com.jiyun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiyun.pojo.*;
import com.jiyun.utils.R;
import io.swagger.models.auth.In;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface PersonalService extends IService<DcDriver> {
    DcDriver findDriverByTel(String tel);

    DcDriver selectByTel(String tel);

    List<NCard> findCardList();

    int updateAssetsQuan(String tel);


    int updateCurrentWithdrawal(String tel, BigDecimal inputMoney);

    String insertNewWallet(String tel, Integer inputMoney);

    List<DcWithdraw> findAllWithdraw();

    List<RiderQueue> findAll(Integer did);


    BigDecimal zichanzonge(Integer did);

    BigDecimal dangyueshouru(Integer did);

    void updateSumMoney(BigDecimal withdrawMoney, String tel, Integer driverId);

    BigDecimal dangyuetixian(Integer driverId);

    void driverPrice(Integer id, BigDecimal totalAssets);



    void saveDriverPrice(Integer id, BigDecimal totalAssets);

}
